<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="vue.js"></script>
</head>

<body>
    <div id="app">
        <p>{{msg}}当前界面归你管理</p>
        <div v-test="{msg}"></div>
        <div v-html="{{msg}}"></div>
        <button value="button" v-bind:title="mytitle">{{mytitle}}</button>
        <input type="button" value="按钮" v-bind:title="mytitle" />
    </div>
    <script>
        var vue = new Vue({
            el: '#app',
            data: {
                msg: "hello Vue.js",
                mytitle: "自定义title"
            }
        })
    </script>
</body>

</html>